package com.campus.server.service;

import com.campus.server.dao.UserDao;


public class UserService {
    private UserDao dao = new UserDao();

    public boolean login(String id, String password, String role) {
        return dao.isLogin(id, password, role);

    }

    public boolean passwordChange(String username,String password) {
        return dao.isChange(username, password);
    }
}
